package cn.mulanbay.common.config;

/**
 * 通用常量信息
 *
 * @author fenghong
 * @create 2022-01-16 10:00
 */
public class Constants {

    /**
     * 不分页页码
     */
    public static final int NO_PAGE = 0;

    /**
     * 成功代码
     */
    public static final int SUCCESS_CODE=0;

    /**
     * 失败代码
     */
    public static final int FAIL_CODE=-1;

    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * http请求
     */
    public static final String HTTP = "http://";

    /**
     * https请求
     */
    public static final String HTTPS = "https://";

    /**
     * 成功标记
     */
    public static final Integer SUCCESS = 200;

    /**
     * Feign的安全认证
     */
    public static final String FEIGN_AUTH_HEADER = "FeignAuth";

}
